@Service
@Setter
@ConfigurationProperties(prefix = "jwt")
public class JWTService implements InitializingBean {
    private String header;
    // ...
    public String generateToken(UserDetails userDetails) {
        return jwtBuilder
            // ...
            .compact();
    }
    // ...
}
